<extend name="Public:base" />

<block name="content">

    <form action="{:U('RateManage/detail')}" method="post">
        <table class="table table-striped table-bordered table-hover search-form">
            <thead>
            <tr>
                <th>
                时间：  <input id="time1" name="time1" value="{:I('time1')}" class="Wdate" type="text" onfocus="WdatePicker({dateFmt:'yyyy-M-d 00:00:00'})"/>
                -- <input id="time2" name="time2" value="{:I('time2')}" class="Wdate" type="text" onfocus="WdatePicker({dateFmt:'yyyy-M-d 00:00:00'})"/>
                <input name="rate_id" type="text" value="{:I('rate_id')}"  placeholder="利息编号"  />
                <span>
                <input  class="btn btn-primary btn-sm radius5" type="submit" value="查询"/>
                </span>
                <a  class="btn btn-primary btn-sm radius5" href="{:U('RateManage/excelout')}">导出</a>
                <!--  <a class="btn btn-primary" href="javascript:;" id="search" url="{:U('Member/index')}">搜索</a>-->
                </th>
            </tr>
            </thead>
        </table>
    </form>
    {$id_name}师傅，目前保证金为{$total['b_total']}元，总利息为{$total['m_total']}元
    <div class="row">
        <div class="col-xs-12">
            <div class="table-responsive">
                <table class="table table-striped table-bordered table-hover">

                    <thead>
                    <tr>
                        <th>利息编号</th>
                        <th>保证金(元)</th>
                        <th>利息(元)</th>
                        <th>产生时间</th>
                    </tr>
                    </thead>
                    <tbody>
                    <volist name="detail" id="ba" key="k">
                        <tr>
                            <td>{$ba['id']}</td>
                            <td>{$ba['bond']}</td>
                            <td>{$ba['money']}</td>
                            <td>{$ba['add_time']|date="Y-m-d H:i:s",###}</td>
                        </tr>
                    </volist>
                    <tr>
                        <td colspan="20" class="page">{$page}</td>
                    </tr>
                    </tbody>
                </table>
            </div>
        </div>
    </div>
</block>
<block name="css">
    <style type="text/css">
    </style>
</block>
<block name="javascript">
    <script>

    </script>
</block>